export default defineEventHandler((event) => {
  const id = getRouterParam(event, "id");
  const result = UserSchema.findByIdAndDelete(id);
  return result;
});
